<!DOCTYPE html>
<!-- saved from url=(0043)http://www.cnblogs.com/ry123/p/3682749.html -->
<html lang="zh-cn"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jsoup的介绍使用(转) - RY一步一个脚印 - 博客园</title>
<link type="text/css" rel="stylesheet" href="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/blog-common.css">
<link id="MainCss" type="text/css" rel="stylesheet" href="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/bundle-coffee.css">
<link id="mobile-style" media="only screen and (max-width: 768px)" type="text/css" rel="stylesheet" href="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/bundle-coffee-mobile.css">
<link title="RSS" type="application/rss+xml" rel="alternate" href="http://www.cnblogs.com/ry123/rss">
<link title="RSD" type="application/rsd+xml" rel="EditURI" href="http://www.cnblogs.com/ry123/rsd.xml">
<link type="application/wlwmanifest+xml" rel="wlwmanifest" href="http://www.cnblogs.com/ry123/wlwmanifest.xml">
<script src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/jquery.js.下载" type="text/javascript"></script>  
<script type="text/javascript">var currentBlogApp = 'ry123', cb_enable_mathjax=false;var isLogined=true;</script>
<script src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/blog-common.js.下载" type="text/javascript"></script>
</head>
<body>
<a name="top"></a>

<!--done-->
<div id="home">
<div id="header">
	<div id="blogTitle">
	<a id="lnkBlogLogo" href="http://www.cnblogs.com/ry123/"><img id="blogLogo" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/logo.gif" alt="返回主页"></a>			
		
<!--done-->
<h1><a id="Header1_HeaderTitle" class="headermaintitle" href="http://www.cnblogs.com/ry123/">RY一步一个脚印</a></h1>
<h2></h2>



		
	</div><!--end: blogTitle 博客的标题和副标题 -->
</div><!--end: header 头部 -->

<div id="main">
	<div id="mainContent">
	<div class="forFlow">
		<div id="navigator">
			
<ul id="navList">
	<li><a id="blog_nav_sitehome" class="menu" href="http://www.cnblogs.com/">博客园</a></li>
	<li><a id="blog_nav_myhome" class="menu" href="http://www.cnblogs.com/ry123/">首页</a></li>
	<li><a id="blog_nav_newpost" class="menu" rel="nofollow" href="https://i.cnblogs.com/EditPosts.aspx?opt=1">新随笔</a></li>
	<li><a id="blog_nav_contact" accesskey="9" class="menu" rel="nofollow" href="https://msg.cnblogs.com/send/RY%E4%B8%80%E6%AD%A5%E4%B8%80%E4%B8%AA%E8%84%9A%E5%8D%B0">联系</a></li>
	<li><a id="blog_nav_admin" class="menu" rel="nofollow" href="https://i.cnblogs.com/">管理</a></li>
	<li><a id="blog_nav_rss" class="menu" href="http://www.cnblogs.com/ry123/rss">订阅</a>
	<a id="blog_nav_rss_image" class="aHeaderXML" href="http://www.cnblogs.com/ry123/rss"><img src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/xml.gif" alt="订阅"></a></li>
</ul>


			<div class="blogStats">
				
				<div id="blog_stats">
<!--done-->
随笔- 126&nbsp;
文章- 0&nbsp;
评论- 67&nbsp;
</div>
				
			</div><!--end: blogStats -->
		</div><!--end: navigator 博客导航栏 -->
		
<div id="post_detail">
<!--done-->
<div id="topics">
	<div class="post">
		<h1 class="postTitle">
			<a id="cb_post_title_url" class="postTitle2" href="http://www.cnblogs.com/ry123/p/3682749.html">jsoup的介绍使用(转)</a>
		</h1>
		<div class="clear"></div>
		<div class="postBody">
			<div id="cnblogs_post_body"><p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><strong style="margin: 0px; padding: 0px;">jsoup文档: <a href="http://www.open-open.com/jsoup/">http://www.open-open.com/jsoup/</a></strong></p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><strong style="margin: 0px; padding: 0px;">原链接: <a href="http://www.oschina.net/question/12_14127">http://www.oschina.net/question/12_14127</a></strong></p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">&nbsp;</p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><strong style="margin: 0px; padding: 0px;">jsoup 简介</strong><br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">Java 程序在解析 HTML 文档时，相信大家都接触过 htmlparser 这个开源项目，我曾经在 IBM DW 上发表过两篇关于 htmlparser 的文章，分别是：从HTML中攫取你所需的信息 和扩展 HTMLParser 对自定义标签的处理能力。但现在我已经不再使用 htmlparser 了，原因是 htmlparser 很少更新，但最重要的是有了 jsoup 。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">jsoup 是一款 Java 的HTML 解析器，可直接解析某个URL地址、HTML文本内容。它提供了一套非常省力的API，可通过DOM，CSS以及类似于jQuery的操作方法来取出和操作数据。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">jsoup的主要功能如下：<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">&nbsp;&nbsp; 1. 从一个URL，文件或字符串中解析HTML；<br style="margin: 0px; padding: 0px;">&nbsp;&nbsp; 2. 使用DOM或CSS选择器来查找、取出数据；<br style="margin: 0px; padding: 0px;">&nbsp;&nbsp; 3. 可操作HTML元素、属性、文本；<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">jsoup是基于MIT协议发布的，可放心使用于商业项目。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">jsoup 的主要类层次结构如下图所示：<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;"><a style="margin: 0px; padding: 0px; outline: 0px; color: #3e62a6; text-decoration: none;" href="http://www.oschina.net/uploads/bbs/2010/1217/081806_RvFx_12.png" target="_blank"><iframe id="iframe_0.19515291629278475" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/saved_resource.html" style="border: none; width: 469px; height: 201px;" frameborder="0" scrolling="no"></iframe></a><br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">接下来我们专门针对几种常见的应用场景举例说明 jsoup 是如何优雅的进行 HTML 文档处理的。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;"><strong style="margin: 0px; padding: 0px;">文档输入</strong><br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">jsoup 可以从包括字符串、URL地址以及本地文件来加载 HTML 文档，并生成 Document 对象实例。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">下面是相关代码：</p>
<div id="highlighter_727341" class="syntaxhighlighter  " style="margin: 1em 0px !important; padding: 1px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 669.23px; height: auto !important; text-align: left; right: auto !important; bottom: auto !important; color: #000000; text-transform: none; line-height: 1.1em !important; text-indent: 0px; letter-spacing: normal; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline !important; float: none !important; white-space: normal; position: relative !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important; -webkit-text-stroke-width: 0px;">
<div class="lines" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">01</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">// 直接从字符串中输入 HTML 文档</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">02</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">String html =<span class="Apple-converted-space">&nbsp;</span></code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"&lt;html&gt;&lt;head&gt;&lt;title&gt;开源中国社区&lt;/title&gt;&lt;/head&gt;"</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">03</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="spaces" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">&nbsp;&nbsp;</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">+<span class="Apple-converted-space">&nbsp;</span></code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"&lt;body&gt;&lt;p&gt;这里是 jsoup 项目的相关文章&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">;</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">04</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Document doc = Jsoup.parse(html);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">05</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">06</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">// 从URL直接加载 HTML 文档</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">07</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Document doc = Jsoup.connect(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"http://www.oschina.net/"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">).get();</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">08</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">String title = doc.title();</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">09</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">10</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Document doc = Jsoup.connect(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"http://www.oschina.net/"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">)</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">11</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="spaces" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">&nbsp;&nbsp;</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">.data(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"query"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">,<span class="Apple-converted-space">&nbsp;</span></code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"Java"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">)&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//请求参数</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">12</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="spaces" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">&nbsp;&nbsp;</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">.userAgent(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"I’m jsoup"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">)<span class="Apple-converted-space">&nbsp;</span></code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//设置User-Agent</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">13</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="spaces" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">&nbsp;&nbsp;</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">.cookie(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"auth"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">,<span class="Apple-converted-space">&nbsp;</span></code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"token"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">)<span class="Apple-converted-space">&nbsp;</span></code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//设置cookie</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">14</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="spaces" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">&nbsp;&nbsp;</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">.timeout(</code><code class="value" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #009900 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">3000</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//设置连接超时时间</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">15</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="spaces" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">&nbsp;&nbsp;</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">.post();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//使用POST方法访问URL</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">16</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">17</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">// 从文件中加载 HTML 文档</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">18</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">File input =<span class="Apple-converted-space">&nbsp;</span></code><code class="keyword" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #006699 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: bold !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">new</code><span class="Apple-converted-space">&nbsp;</span><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">File(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"D:/test.html"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">19</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Document doc = Jsoup.parse(input,</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"UTF-8"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">,</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"http://www.oschina.net/"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>




</div>




</div>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">&nbsp;</p>
<p>
<span style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">请大家注意最后一种 HTML 文档输入方式中的 parse 的第三个参数，为什么需要在这里指定一个网址呢（虽然可以不指定，如第一种方法）？因为 HTML 文档中会有很多例如链接、图片以及所引用的外部脚本、css文件等，而第三个名为 baseURL 的参数的意思就是当 HTML 文档使用相对路径方式引用外部文件时，jsoup 会自动为这些 URL 加上一个前缀，也就是这个 baseURL。<span class="Apple-converted-space">&nbsp;</span></span><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><span style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">例如 &lt;a href=/project&gt;开源软件&lt;/a&gt; 会被转换成 &lt;a href=http://www.oschina.net/project&gt;开源软件&lt;/a&gt;。<span class="Apple-converted-space">&nbsp;</span></span><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><strong style="margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; line-height: 22px; text-indent: 0px; letter-spacing: normal; font-family: 微软雅黑, Verdana, sans-serif, 宋体; font-size: 14px; font-style: normal; font-variant: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">解析并提取 HTML 元素</strong><span style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><span class="Apple-converted-space">&nbsp;</span></span><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><span style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">这部分涉及一个 HTML 解析器最基本的功能，但 jsoup 使用一种有别于其他开源项目的方式——选择器，我们将在最后一部分详细介绍 jsoup 选择器，本节中你将看到 jsoup 是如何用最简单的代码实现。<span class="Apple-converted-space">&nbsp;</span></span><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><span style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">不过 jsoup 也提供了传统的 DOM 方式的元素解析，看看下面的代码：</span></p>
<div id="highlighter_249867" class="syntaxhighlighter  " style="margin: 1em 0px !important; padding: 1px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 669.23px; height: auto !important; text-align: left; right: auto !important; bottom: auto !important; color: #000000; text-transform: none; line-height: 1.1em !important; text-indent: 0px; letter-spacing: normal; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline !important; float: none !important; white-space: normal; position: relative !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important; -webkit-text-stroke-width: 0px;">
<div class="lines" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">1</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">File input =<span class="Apple-converted-space">&nbsp;</span></code><code class="keyword" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #006699 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: bold !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">new</code><span class="Apple-converted-space">&nbsp;</span><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">File(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"D:/test.html"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">2</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Document doc = Jsoup.parse(input,<span class="Apple-converted-space">&nbsp;</span></code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"UTF-8"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">,<span class="Apple-converted-space">&nbsp;</span></code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"http://www.oschina.net/"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">3</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">4</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Element content = doc.getElementById(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"content"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">5</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Elements links = content.getElementsByTag(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"a"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">6</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="keyword" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #006699 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: bold !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">for</code><span class="Apple-converted-space">&nbsp;</span><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">(Element link : links) {</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">7</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="spaces" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">&nbsp;&nbsp;</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">String linkHref = link.attr(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"href"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">8</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="spaces" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">&nbsp;&nbsp;</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">String linkText = link.text();</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">9</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">}</code></td>




</tr>




</tbody>




</table>




</div>




</div>




</div>
<p>
<span style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">你可能会觉得 jsoup 的方法似曾相识，没错，像 getElementById 和 getElementsByTag 方法跟 JavaScript 的方法名称是一样的，功能也完全一致。你可以根据节点名称或者是 HTML 元素的 id 来获取对应的元素或者元素列表。<span class="Apple-converted-space">&nbsp;</span></span><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><span style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">与 htmlparser 项目不同的是，jsoup 并没有为 HTML 元素定义一个对应的类，一般一个 HTML 元素的组成部分包括：节点名、属性和文本，jsoup 提供简单的方法供你自己检索这些数据，这也是 jsoup 保持瘦身的原因。<span class="Apple-converted-space">&nbsp;</span></span><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><br style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><span style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">而在元素检索方面，jsoup 的选择器简直无所不能，</span></p>
<div id="highlighter_525174" class="syntaxhighlighter  " style="margin: 1em 0px !important; padding: 1px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 669.23px; height: auto !important; text-align: left; right: auto !important; bottom: auto !important; color: #000000; text-transform: none; line-height: 1.1em !important; text-indent: 0px; letter-spacing: normal; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline !important; float: none !important; white-space: normal; position: relative !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important; -webkit-text-stroke-width: 0px;">
<div class="lines" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">01</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">File input =<span class="Apple-converted-space">&nbsp;</span></code><code class="keyword" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #006699 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: bold !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">new</code><span class="Apple-converted-space">&nbsp;</span><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">File(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"D:\test.html"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">02</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Document doc = Jsoup.parse(input,</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"UTF-8"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">,</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"http://www.oschina.net/"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">03</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">04</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Elements links = doc.select(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"a[href]"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);<span class="Apple-converted-space">&nbsp;</span></code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">// 具有 href 属性的链接</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">05</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Elements pngs = doc.select(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"img[src$=.png]"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//所有引用png图片的元素</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">06</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">07</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">08</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Element masthead = doc.select(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"div.masthead"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">).first();</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">09</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">// 找出定义了 class="masthead" 的元素</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">10</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">11</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">Elements resultLinks = doc.select(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"h3.r &gt; a"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);<span class="Apple-converted-space">&nbsp;</span></code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">// direct a after h3</code></td>




</tr>




</tbody>




</table>




</div>




</div>




</div>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">这是 jsoup 真正让我折服的地方，jsoup 使用跟 jQuery 一模一样的选择器对元素进行检索，以上的检索方法如果换成是其他的 HTML 解释器，至少都需要很多行代码，而 jsoup 只需要一行代码即可完成。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">jsoup 的选择器还支持表达式功能，我们将在最后一节介绍这个超强的选择器。</p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><strong style="margin: 0px; padding: 0px;">修改数据</strong><br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">在解析文档的同时，我们可能会需要对文档中的某些元素进行修改，例如我们可以为文档中的所有图片增加可点击链接、修改链接地址或者是修改文本等。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">下面是一些简单的例子：</p>
<div id="highlighter_292568" class="syntaxhighlighter  " style="margin: 1em 0px !important; padding: 1px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 669.23px; height: auto !important; text-align: left; right: auto !important; bottom: auto !important; color: #000000; text-transform: none; line-height: 1.1em !important; text-indent: 0px; letter-spacing: normal; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline !important; float: none !important; white-space: normal; position: relative !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important; -webkit-text-stroke-width: 0px;">
<div class="lines" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">1</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">doc.select(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"div.comments a"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">).attr(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"rel"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">,<span class="Apple-converted-space">&nbsp;</span></code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"nofollow"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">2</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//为所有链接增加 rel=nofollow 属性</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">3</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">4</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">doc.select(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"div.comments a"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">).addClass(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"mylinkclass"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">5</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//为所有链接增加 class="mylinkclass" 属性</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">6</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">7</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">doc.select(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"img"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">).removeAttr(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"onclick"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);<span class="Apple-converted-space">&nbsp;</span></code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//删除所有图片的onclick属性</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">8</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">&nbsp;</td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">9</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">doc.select(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"input[type=text]"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">).val(</code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">""</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">);<span class="Apple-converted-space">&nbsp;</span></code><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">//清空所有文本输入框中的文本</code></td>




</tr>




</tbody>




</table>




</div>




</div>




</div>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">&nbsp;</p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">道理很简单，你只需要利用 jsoup 的选择器找出元素，然后就可以通过以上的方法来进行修改，除了无法修改标签名外（可以删除后再插入新的元素），包括元素的属性和文本都可以修改。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">修改完直接调用 Element(s) 的 html() 方法就可以获取修改完的 HTML 文档。</p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><strong style="margin: 0px; padding: 0px;">HTML 文档清理</strong><br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">jsoup 在提供强大的 API 同时，人性化方面也做得非常好。在做网站的时候，经常会提供用户评论的功能。有些用户比较淘气，会搞一些脚本到评论内容中，而这些脚本可能会破坏整个页面的行为，更严重的是获取一些机要信息，例如 XSS 跨站点攻击之类的。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">jsoup 对这方面的支持非常强大，使用非常简单。看看下面这段代码：</p>
<div id="highlighter_507354" class="syntaxhighlighter  " style="margin: 1em 0px !important; padding: 1px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 669.23px; height: auto !important; text-align: left; right: auto !important; bottom: auto !important; color: #000000; text-transform: none; line-height: 1.1em !important; text-indent: 0px; letter-spacing: normal; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline !important; float: none !important; white-space: normal; position: relative !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important; -webkit-text-stroke-width: 0px;">
<div class="lines" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">1</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">String unsafe =<span class="Apple-converted-space">&nbsp;</span></code><code class="string" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">"&lt;p&gt;&lt;a href='http://www.oschina.net/' onclick='stealCookies()'&gt;开源中国社区&lt;/a&gt;&lt;/p&gt;"</code><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">;</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">2</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="plain" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">String safe = Jsoup.clean(unsafe, Whitelist.basic());</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt1" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #ffffff !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">3</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">// 输出:</code></td>




</tr>




</tbody>




</table>




</div>
<div class="line alt2" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f8f8f8 !important;">
<table style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; border-collapse: collapse !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;">
<td class="number" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: 3em !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #afafaf !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code style="margin: 0px 2px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: 2.7em !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; padding-top: 0px; padding-right: 0.3em !important; padding-bottom: 0px; padding-left: 5px; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">4</code></td>
<td class="content" style="border-width: 0px 0px 0px 3px !important; margin: 0px !important; padding: 0px 0px 0px 0.5em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #000000 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: top !important; border-left-color: #6ce26c !important; border-left-style: solid !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important;"><code class="comments" style="margin: 0px 2px; padding: 0px 5px; outline: 0px !important; border-radius: 3px; border: 1px solid #dddddd; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: #008200 !important; line-height: 1.1em !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10pt !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; background-image: none !important; background-color: #f6f6f6;">// &lt;p&gt;&lt;a href="http://www.oschina.net/" rel="nofollow"&gt;开源中国社区&lt;/a&gt;&lt;/p&gt;</code></td>




</tr>




</tbody>




</table>




</div>




</div>




</div>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">&nbsp;</p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">jsoup 使用一个 Whitelist 类用来对 HTML 文档进行过滤，该类提供几个常用方法：</p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><a style="margin: 0px; padding: 0px; outline: 0px; color: #3e62a6; text-decoration: none;" href="http://www.oschina.net/uploads/bbs/2010/1217/082402_c8wE_12.png" target="_blank"><iframe id="iframe_0.7760188023913852" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/saved_resource(1).html" style="border: none; width: 665px; height: 288px;" frameborder="0" scrolling="no"></iframe></a></p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">如果这五个过滤器都无法满足你的要求呢，例如你允许用户插入 flash 动画，没关系，Whitelist 提供扩展功能，例如 whitelist.addTags("embed","object","param","span","div"); 也可调用 addAttributes 为某些元素增加属性。</p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><strong style="margin: 0px; padding: 0px;">jsoup 的过人之处——选择器</strong><br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">前面我们已经简单的介绍了 jsoup 是如何使用选择器来对元素进行检索的。本节我们把重点放在选择器本身强大的语法上。下表是 jsoup 选择器的所有语法详细列表。<br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">基本用法<br style="margin: 0px; padding: 0px;"><a style="margin: 0px; padding: 0px; outline: 0px; color: #3e62a6; text-decoration: none;" href="http://www.oschina.net/uploads/bbs/2010/1217/082508_snEO_12.png" target="_blank"><iframe id="iframe_0.4861747520867601" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/saved_resource(2).html" style="border: none; width: 670px; height: 404px;" frameborder="0" scrolling="no"></iframe></a></p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">以上是最基本的选择器语法，这些语法也可以组合起来使用，下面是 jsoup 支持的组合用法：</p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><a style="margin: 0px; padding: 0px; outline: 0px; color: #3e62a6; text-decoration: none;" href="http://www.oschina.net/uploads/bbs/2010/1217/082615_VAMv_12.png" target="_blank"><iframe id="iframe_0.7326031820986327" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/saved_resource(3).html" style="border: none; width: 666px; height: 313px;" frameborder="0" scrolling="no"></iframe></a></p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">除了一些基本的语法以及这些语法进行组合外，jsoup 还支持使用表达式进行元素过滤选择。下面是 jsoup 支持的所有表达式一览表：</p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><a style="margin: 0px; padding: 0px; outline: 0px; color: #3e62a6; text-decoration: none;" href="http://www.oschina.net/uploads/bbs/2010/1217/082700_Hrqw_12.png" target="_blank"><iframe id="iframe_0.38991813366633976" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/saved_resource(4).html" style="border: none; width: 668px; height: 274px;" frameborder="0" scrolling="no"></iframe></a></p>
<p style="font: 14px/22px 微软雅黑, Verdana, sans-serif, 宋体; margin: 0px 0px 10px; padding: 0px; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><strong style="margin: 0px; padding: 0px;">总结</strong><br style="margin: 0px; padding: 0px;"><br style="margin: 0px; padding: 0px;">jsoup 的基本功能到这里就介绍完毕，但由于 jsoup 良好的可扩展性 API 设计，你可以通过选择器的定义来开发出非常强大的 HTML 解析功能。再加上 jsoup 项目本身的开发也非常活跃，因此如果你正在使用 Java ，需要对 HTML 进行处理，不妨试试。</p></div><div id="MySignature"></div>
<div class="clear"></div>
<div id="blog_post_info_block">
<div id="BlogPostCategory"></div>
<div id="EntryTag">标签: <a href="http://www.cnblogs.com/ry123/tag/Java/">Java</a></div>
<div id="blog_post_info"><div id="green_channel">
        <a href="javascript:void(0);" id="green_channel_digg" onclick="DiggIt(3682749,cb_blogId,1);green_channel_success(this,&#39;谢谢推荐！&#39;);">好文要顶</a>
            <a id="green_channel_follow" onclick="follow(&#39;30609155-98e8-e011-8ee0-842b2b196315&#39;);" href="javascript:void(0);">关注我</a>
    <a id="green_channel_favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);">收藏该文</a>
    <a id="green_channel_weibo" href="javascript:void(0);" title="分享至新浪微博" onclick="ShareToTsina()"><img src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/icon_weibo_24.png" alt=""></a>
    <a id="green_channel_wechat" href="javascript:void(0);" title="分享至微信" onclick="shareOnWechat()"><img src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/wechat.png" alt=""></a>
</div>
<div id="author_profile">
    <div id="author_profile_info" class="author_profile_info">
            <a href="http://home.cnblogs.com/u/ry123/" target="_blank"><img src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/sample_face.gif" class="author_avatar" alt=""></a>
        <div id="author_profile_detail" class="author_profile_info">
            <a href="http://home.cnblogs.com/u/ry123/">RY一步一个脚印</a><br>
            <a href="http://home.cnblogs.com/u/ry123/followees">关注 - 11</a><br>
            <a href="http://home.cnblogs.com/u/ry123/followers">粉丝 - 29</a>
        </div>
    </div>
    <div class="clear"></div>
    <div id="author_profile_honor"></div>
    <div id="author_profile_follow">
                <a href="javascript:void(0);" onclick="follow(&#39;30609155-98e8-e011-8ee0-842b2b196315&#39;);return false;">+加关注</a>
    </div>
</div>
<div id="div_digg">
    <div class="diggit" onclick="votePost(3682749,&#39;Digg&#39;)">
        <span class="diggnum" id="digg_count">0</span>
    </div>
    <div class="buryit" onclick="votePost(3682749,&#39;Bury&#39;)">
        <span class="burynum" id="bury_count">0</span>
    </div>
    <div class="clear"></div>
    <div class="diggword" id="digg_tips">
    </div>
</div>
</div>
<div class="clear"></div>
<div id="post_next_prev"><a href="http://www.cnblogs.com/ry123/p/3681757.html" class="p_n_p_prefix">« </a> 上一篇：<a href="http://www.cnblogs.com/ry123/p/3681757.html" title="发布于2014-04-22 22:25">Java学习(一)</a><br><a href="http://www.cnblogs.com/ry123/p/3696428.html" class="p_n_p_prefix">» </a> 下一篇：<a href="http://www.cnblogs.com/ry123/p/3696428.html" title="发布于2014-04-28 15:07">mongodb 查询时没有索引报错(too much data for sort() with no index)</a><br></div>
</div>


		</div>
		<div class="postDesc">posted @ <span id="post-date">2014-04-23 13:55</span> <a href="http://www.cnblogs.com/ry123/">RY一步一个脚印</a> 阅读(<span id="post_view_count">6992</span>) 评论(<span id="post_comment_count">0</span>)  <a href="https://i.cnblogs.com/EditPosts.aspx?postid=3682749" rel="nofollow">编辑</a> <a href="http://www.cnblogs.com/ry123/p/3682749.html#" onclick="AddToWz(3682749);return false;">收藏</a></div>
	</div>
	<script type="text/javascript">var allowComments=true,cb_blogId=104290,cb_entryId=3682749,cb_blogApp=currentBlogApp,cb_blogUserGuid='30609155-98e8-e011-8ee0-842b2b196315',cb_entryCreatedDate='2014/4/23 13:55:00';loadViewCount(cb_entryId);</script>
	
</div><!--end: topics 文章、评论容器-->
</div><a name="!comments"></a><div id="blog-comments-placeholder"></div><script type="text/javascript">var commentManager = new blogCommentManager();commentManager.renderComments(0);</script>
<div id="comment_form" class="commentform">
<a name="commentform"></a>
<div id="divCommentShow"></div>
<div id="comment_nav"><span id="span_refresh_tips"></span><a href="javascript:void(0);" onclick="return RefreshCommentList();" id="lnk_RefreshComments" runat="server" clientidmode="Static">刷新评论</a><a href="http://www.cnblogs.com/ry123/p/3682749.html#" onclick="return RefreshPage();">刷新页面</a><a href="http://www.cnblogs.com/ry123/p/3682749.html#top">返回顶部</a></div>
<div id="comment_form_container">
<div id="commentform_title">发表评论</div>
<span id="tip_comment" style="color:Red"></span>
<p>
昵称：<input type="text" id="tbCommentAuthor" class="author" disabled="disabled" size="50" value="大漠帝國">
</p>
<div class="commentbox_main">
<div class="commentbox_title">
<div class="commentbox_title_left">评论内容：</div>
<div class="commentbox_title_right">
<img id="ubb_quote" class="comment_icon" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/quote.gif" alt="引用" title="添加引用" onclick="insertUBB(&#39;tbCommentBody&#39;,&#39;quote&#39;)">
<img id="ubb_bold" class="comment_icon" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/b.png" alt="粗体" title="添加粗体" onclick="insertUBB(&#39;tbCommentBody&#39;,&#39;b&#39;)">
<img id="ubb_url" class="comment_icon" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/lk.png" alt="链接" title="添加链接" onclick="insertUbbUrl(&#39;tbCommentBody&#39;)">
<img id="ubb_indent" class="comment_icon" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/indent.png" alt="缩进" title="添加首行缩进" onclick="insertIndent(&#39;tbCommentBody&#39;)">
<img id="ubb_code" class="comment_icon" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/InsertCode.gif" alt="代码" title="添加代码" onclick="insertUbbCode()">
<img id="ubb_img" class="comment_icon" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/img.gif" alt="图片" title="上传图片" onclick="OpenImageUploadWindow();">
</div>
</div>
<div class="clear"></div>
<textarea id="tbCommentBody" class="comment_textarea"></textarea>
</div>
<p id="commentbox_opt">
<input id="btn_comment_submit" type="button" class="comment_btn" value="提交评论">
<span id="span_comment_canceledit" style="display:none"><a href="javascript:void(0);" onclick="return CancelCommentEdit()">不改了</a></span>
<a href="javascript:void(0);" onclick="return logout();">退出</a>
        <a id="commentbox_opt_sub" href="javascript:void(0);" title="订阅后有新评论时会邮件通知您" onclick="commentManager.Subscribe()">订阅评论</a>
</p>
<div id="tip_comment2" style="color:Red"></div>
<p>
[Ctrl+Enter快捷键提交]
</p>
<div style="display:none">
<span id="comment_edit_id"></span><span id="span_parentcomment_id"></span>
<span id="span_parent_id"></span>
<span id="span_comment_replyto"></span>
<span id="span_comment_posted"></span>
</div>
</div>
<div class="ad_text_commentbox" id="ad_text_under_commentbox"></div>
<div id="ad_t2"><a href="http://www.ucancode.com/index.htm" target="_blank">【推荐】50万行VC++源码: 大型组态工控、电力仿真CAD与GIS源码库</a><br><a href="https://cloud.tencent.com/developer/labs?fromSource=gwzcw.436876.436876.436876" target="_blank">【推荐】腾讯云上实验室 1小时搭建人工智能应用</a><br><a href="http://www.gcpowertools.com.cn/products/spreadjs/?utm_source=cnblogs&amp;utm_medium=blogpage&amp;utm_term=bottom&amp;utm_content=SpreadJS&amp;utm_campaign=community" target="_blank">【推荐】可嵌入您系统的“在线Excel”！SpreadJS 纯前端表格控件</a><br><a href="http://click.aliyun.com/m/18488/" target="_blank">【推荐】阿里云“全民云计算”优惠升级</a><br></div>
<div id="opt_under_post"></div>
<div id="cnblogs_c1" class="c_ad_block"><a href="https://www.mtyun.com/promote/69f73a72-f46d-4103-88e5-94ed2f81259d/" target="_blank"><img width="300" height="250" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/24442-20170921101521025-1845913848.jpg" alt="美团云0921"></a></div>
<div id="under_post_news"><div class="itnews c_ad_block"><b>最新IT新闻</b>:<br> ·  <a href="http://news.cnblogs.com/n/579347/" target="_blank">中国联通推“国庆中秋8日包”：20元17GB流量</a><br> ·  <a href="http://news.cnblogs.com/n/579346/" target="_blank">微信上线飞机“全自动延误险” 买35元最高赔210元</a><br> ·  <a href="http://news.cnblogs.com/n/579338/" target="_blank">瑞士研发出可食用温度传感器 解决食物保鲜难题</a><br> ·  <a href="http://news.cnblogs.com/n/579343/" target="_blank">外国网友吵翻：东京游戏展这个模特是人是机器？</a><br> ·  <a href="http://news.cnblogs.com/n/579344/" target="_blank">Facebook推新功能 精准匹配献血者和需要输血者</a><br>» <a href="http://news.cnblogs.com/" title="IT新闻" target="_blank">更多新闻...</a></div></div>
<div id="cnblogs_c2" class="c_ad_block"><a href="https://www.jiguang.cn/devservice?source=bky&amp;hmsr=%E5%8D%9A%E5%AE%A2%E5%9B%AD&amp;hmpl=&amp;hmcu=&amp;hmkw=&amp;hmci=" target="_blank"><img width="468" height="60" src="./jsoup的介绍使用(转) - RY一步一个脚印 - 博客园_files/24442-20170908132742304-1045119416.gif" alt="极光0908"></a></div>
<div id="under_post_kb"><div class="itnews c_ad_block" id="kb_block"><b>最新知识库文章</b>:<br><div id="kb_recent"> ·  <a href="http://kb.cnblogs.com/page/576251/" target="_blank">如何阅读计算机科学类的书</a><br> ·  <a href="http://kb.cnblogs.com/page/578103/" target="_blank">Google 及其云智慧</a><br> ·  <a href="http://kb.cnblogs.com/page/575829/" target="_blank">做到这一点，你也可以成为优秀的程序员</a><br> ·  <a href="http://kb.cnblogs.com/page/566880/" target="_blank">写给立志做码农的大学生</a><br> ·  <a href="http://kb.cnblogs.com/page/569057/" target="_blank">架构腐化之谜</a><br></div>» <a href="http://kb.cnblogs.com/" target="_blank">更多知识库文章...</a></div></div>
<div id="HistoryToday" class="c_ad_block"></div>
<script type="text/javascript">
    fixPostBody();
    setTimeout(function () { incrementViewCount(cb_entryId); }, 50);
    deliverAdT2();
    deliverAdC1();
    deliverAdC2();    
    loadNewsAndKb();
    loadBlogSignature();
    LoadPostInfoBlock(cb_blogId, cb_entryId, cb_blogApp, cb_blogUserGuid);
    GetPrevNextPost(cb_entryId, cb_blogId, cb_entryCreatedDate);
    loadOptUnderPost();
    GetHistoryToday(cb_blogId, cb_blogApp, cb_entryCreatedDate);   
</script>
</div>


	</div><!--end: forFlow -->
	</div><!--end: mainContent 主体内容容器-->

	<div id="sideBar">
		<div id="sideBarMain">
			
<!--done-->
<div class="newsItem">
<h3 class="catListTitle">公告</h3>
	<div id="blog-news"><div id="profile_block">昵称：<a href="http://home.cnblogs.com/u/ry123/">RY一步一个脚印</a><br>园龄：<a href="http://home.cnblogs.com/u/ry123/" title="入园时间：2011-09-27">6年</a><br>粉丝：<a href="http://home.cnblogs.com/u/ry123/followers/">29</a><br>关注：<a href="http://home.cnblogs.com/u/ry123/followees/">11</a><div id="p_b_follow"><a href="javascript:void(0);" onclick="follow(&#39;30609155-98e8-e011-8ee0-842b2b196315&#39;)">+加关注</a></div></div></div><script type="text/javascript">loadBlogNews();</script>
</div>

			<div id="calendar"><div id="blog-calendar" style=""><table id="blogCalendar" class="Cal" cellspacing="0" cellpadding="0" title="Calendar">
	<tbody><tr><td colspan="7"><table class="CalTitle" cellspacing="0">
		<tbody><tr><td class="CalNextPrev"><a href="javascript:void(0);" onclick="loadBlogCalendar(&#39;2017/08/01&#39;);return false;">&lt;</a></td><td align="center">2017年9月</td><td class="CalNextPrev" align="right"><a href="javascript:void(0);" onclick="loadBlogCalendar(&#39;2017/10/01&#39;);return false;">&gt;</a></td></tr>
	</tbody></table></td></tr><tr><th class="CalDayHeader" align="center" abbr="日" scope="col">日</th><th class="CalDayHeader" align="center" abbr="一" scope="col">一</th><th class="CalDayHeader" align="center" abbr="二" scope="col">二</th><th class="CalDayHeader" align="center" abbr="三" scope="col">三</th><th class="CalDayHeader" align="center" abbr="四" scope="col">四</th><th class="CalDayHeader" align="center" abbr="五" scope="col">五</th><th class="CalDayHeader" align="center" abbr="六" scope="col">六</th></tr><tr><td class="CalOtherMonthDay" align="center">27</td><td class="CalOtherMonthDay" align="center">28</td><td class="CalOtherMonthDay" align="center">29</td><td class="CalOtherMonthDay" align="center">30</td><td class="CalOtherMonthDay" align="center">31</td><td align="center">1</td><td class="CalWeekendDay" align="center">2</td></tr><tr><td class="CalWeekendDay" align="center">3</td><td align="center">4</td><td align="center">5</td><td align="center">6</td><td align="center">7</td><td align="center">8</td><td class="CalWeekendDay" align="center">9</td></tr><tr><td class="CalWeekendDay" align="center">10</td><td align="center">11</td><td align="center">12</td><td align="center">13</td><td align="center">14</td><td align="center">15</td><td class="CalWeekendDay" align="center">16</td></tr><tr><td class="CalWeekendDay" align="center">17</td><td align="center">18</td><td align="center">19</td><td align="center">20</td><td align="center">21</td><td align="center">22</td><td class="CalWeekendDay" align="center">23</td></tr><tr><td class="CalWeekendDay" align="center">24</td><td align="center">25</td><td align="center">26</td><td align="center">27</td><td align="center">28</td><td class="CalTodayDay" align="center">29</td><td class="CalWeekendDay" align="center">30</td></tr><tr><td class="CalOtherMonthDay" align="center">1</td><td class="CalOtherMonthDay" align="center">2</td><td class="CalOtherMonthDay" align="center">3</td><td class="CalOtherMonthDay" align="center">4</td><td class="CalOtherMonthDay" align="center">5</td><td class="CalOtherMonthDay" align="center">6</td><td class="CalOtherMonthDay" align="center">7</td></tr>
</tbody></table></div><script type="text/javascript">loadBlogDefaultCalendar();</script></div>
			
			<div id="leftcontentcontainer">
				<div id="blog-sidecolumn"><div id="sidebar_search" class="sidebar-block">
<div id="sidebar_search" class="mySearch">
<h3 class="catListTitle">搜索</h3>
<div id="sidebar_search_box">
<div id="widget_my_zzk" class="div_my_zzk"><input type="text" id="q" onkeydown="return zzk_go_enter(event);" class="input_my_zzk">&nbsp;<input onclick="zzk_go()" type="button" value="找找看" id="btnZzk" class="btn_my_zzk"></div>
<div id="widget_my_google" class="div_my_zzk"><input type="text" name="google_q" id="google_q" onkeydown="return google_go_enter(event)" class="input_my_zzk">&nbsp;<input onclick="google_go()" type="button" value="谷歌搜索" class="btn_my_zzk"></div>
</div>
</div>

</div><div id="sidebar_shortcut" class="sidebar-block">
<div class="catListLink">
<h3 class="catListTitle">常用链接</h3>
<ul>
<li><a href="http://www.cnblogs.com/ry123/p/" title="我的博客的随笔列表">我的随笔</a></li><li><a href="http://www.cnblogs.com/ry123/MyComments.html" title="我发表过的评论列表">我的评论</a></li><li><a href="http://www.cnblogs.com/ry123/OtherPosts.html" title="我评论过的随笔列表">我的参与</a></li><li><a href="http://www.cnblogs.com/ry123/RecentComments.html" title="我的博客的评论列表">最新评论</a></li><li><a href="http://www.cnblogs.com/ry123/tag/" title="我的博客的标签列表">我的标签</a></li>
<li><a id="itemListLink" onclick="this.blur();WarpClass(&#39;itemListLink&#39;, &#39;itemListLin_con&#39;);return false;" href="http://www.cnblogs.com/ry123/p/3682749.html#">更多链接</a></li>
</ul>
<div id="itemListLin_con" style="display:none;">
<ul>

</ul>
</div>
</div></div><div id="sidebar_toptags" class="sidebar-block">
<div class="catListTag">
<h3 class="catListTitle">我的标签</h3>
<ul>
<li><a href="http://www.cnblogs.com/ry123/tag/JavaScript/">JavaScript</a>(44)</li><li><a href="http://www.cnblogs.com/ry123/tag/C%23/">C#</a>(18)</li><li><a href="http://www.cnblogs.com/ry123/tag/Java/">Java</a>(13)</li><li><a href="http://www.cnblogs.com/ry123/tag/mongodb/">mongodb</a>(11)</li><li><a href="http://www.cnblogs.com/ry123/tag/SQL/">SQL</a>(11)</li><li><a href="http://www.cnblogs.com/ry123/tag/Windows%20Phone%20%E5%BC%80%E5%8F%91/">Windows Phone 开发</a>(5)</li><li><a href="http://www.cnblogs.com/ry123/tag/ASP.NET/">ASP.NET</a>(5)</li><li><a href="http://www.cnblogs.com/ry123/tag/CSS/">CSS</a>(4)</li><li><a href="http://www.cnblogs.com/ry123/tag/Nodejs/">Nodejs</a>(4)</li><li><a href="http://www.cnblogs.com/ry123/tag/HTML/">HTML</a>(3)</li><li><a href="http://www.cnblogs.com/ry123/tag/">更多</a></li>
</ul>
</div></div><div id="sidebar_categories">
<div class="catListPostArchive">
<h3 class="catListTitle">随笔档案</h3>

<ul>

<li><a id="CatList_LinkList_0_Link_0" href="http://www.cnblogs.com/ry123/archive/2015/12.html">2015年12月 (2)</a> </li>

<li><a id="CatList_LinkList_0_Link_1" href="http://www.cnblogs.com/ry123/archive/2015/09.html">2015年9月 (3)</a> </li>

<li><a id="CatList_LinkList_0_Link_2" href="http://www.cnblogs.com/ry123/archive/2015/08.html">2015年8月 (11)</a> </li>

<li><a id="CatList_LinkList_0_Link_3" href="http://www.cnblogs.com/ry123/archive/2015/07.html">2015年7月 (4)</a> </li>

<li><a id="CatList_LinkList_0_Link_4" href="http://www.cnblogs.com/ry123/archive/2015/06.html">2015年6月 (2)</a> </li>

<li><a id="CatList_LinkList_0_Link_5" href="http://www.cnblogs.com/ry123/archive/2015/05.html">2015年5月 (2)</a> </li>

<li><a id="CatList_LinkList_0_Link_6" href="http://www.cnblogs.com/ry123/archive/2015/04.html">2015年4月 (2)</a> </li>

<li><a id="CatList_LinkList_0_Link_7" href="http://www.cnblogs.com/ry123/archive/2015/03.html">2015年3月 (2)</a> </li>

<li><a id="CatList_LinkList_0_Link_8" href="http://www.cnblogs.com/ry123/archive/2015/02.html">2015年2月 (1)</a> </li>

<li><a id="CatList_LinkList_0_Link_9" href="http://www.cnblogs.com/ry123/archive/2015/01.html">2015年1月 (8)</a> </li>

<li><a id="CatList_LinkList_0_Link_10" href="http://www.cnblogs.com/ry123/archive/2014/12.html">2014年12月 (2)</a> </li>

<li><a id="CatList_LinkList_0_Link_11" href="http://www.cnblogs.com/ry123/archive/2014/11.html">2014年11月 (4)</a> </li>

<li><a id="CatList_LinkList_0_Link_12" href="http://www.cnblogs.com/ry123/archive/2014/10.html">2014年10月 (3)</a> </li>

<li><a id="CatList_LinkList_0_Link_13" href="http://www.cnblogs.com/ry123/archive/2014/09.html">2014年9月 (1)</a> </li>

<li><a id="CatList_LinkList_0_Link_14" href="http://www.cnblogs.com/ry123/archive/2014/08.html">2014年8月 (3)</a> </li>

<li><a id="CatList_LinkList_0_Link_15" href="http://www.cnblogs.com/ry123/archive/2014/07.html">2014年7月 (11)</a> </li>

<li><a id="CatList_LinkList_0_Link_16" href="http://www.cnblogs.com/ry123/archive/2014/05.html">2014年5月 (1)</a> </li>

<li><a id="CatList_LinkList_0_Link_17" href="http://www.cnblogs.com/ry123/archive/2014/04.html">2014年4月 (8)</a> </li>

<li><a id="CatList_LinkList_0_Link_18" href="http://www.cnblogs.com/ry123/archive/2014/01.html">2014年1月 (1)</a> </li>

<li><a id="CatList_LinkList_0_Link_19" href="http://www.cnblogs.com/ry123/archive/2013/07.html">2013年7月 (3)</a> </li>

<li><a id="CatList_LinkList_0_Link_20" href="http://www.cnblogs.com/ry123/archive/2013/06.html">2013年6月 (1)</a> </li>

<li><a id="CatList_LinkList_0_Link_21" href="http://www.cnblogs.com/ry123/archive/2013/05.html">2013年5月 (3)</a> </li>

<li><a id="CatList_LinkList_0_Link_22" href="http://www.cnblogs.com/ry123/archive/2013/04.html">2013年4月 (9)</a> </li>

<li><a id="CatList_LinkList_0_Link_23" href="http://www.cnblogs.com/ry123/archive/2013/01.html">2013年1月 (1)</a> </li>

<li><a id="CatList_LinkList_0_Link_24" href="http://www.cnblogs.com/ry123/archive/2012/12.html">2012年12月 (1)</a> </li>

<li><a id="CatList_LinkList_0_Link_25" href="http://www.cnblogs.com/ry123/archive/2012/11.html">2012年11月 (8)</a> </li>

<li><a id="CatList_LinkList_0_Link_26" href="http://www.cnblogs.com/ry123/archive/2012/10.html">2012年10月 (10)</a> </li>

<li><a id="CatList_LinkList_0_Link_27" href="http://www.cnblogs.com/ry123/archive/2012/09.html">2012年9月 (3)</a> </li>

<li><a id="CatList_LinkList_0_Link_28" href="http://www.cnblogs.com/ry123/archive/2012/07.html">2012年7月 (2)</a> </li>

<li><a id="CatList_LinkList_0_Link_29" href="http://www.cnblogs.com/ry123/archive/2012/06.html">2012年6月 (5)</a> </li>

<li><a id="CatList_LinkList_0_Link_30" href="http://www.cnblogs.com/ry123/archive/2012/05.html">2012年5月 (5)</a> </li>

<li><a id="CatList_LinkList_0_Link_31" href="http://www.cnblogs.com/ry123/archive/2012/02.html">2012年2月 (2)</a> </li>

<li><a id="CatList_LinkList_0_Link_32" href="http://www.cnblogs.com/ry123/archive/2011/12.html">2011年12月 (2)</a> </li>

</ul>

</div>

</div><div id="sidebar_recentcomments" class="sidebar-block"><div id="recent_comments_wrap">
<div class="catListComment">
<h3 class="catListTitle">最新评论</h3>

	<div id="RecentCommentsBlock"><ul>
        <li class="recent_comment_title"><a href="http://www.cnblogs.com/ry123/p/4032184.html#3747548">1. Re:设置MyEclipse黑色主题背景</a></li>
        <li class="recent_comment_body">啊飒飒飒飒</li>
        <li class="recent_comment_author">--ArpA开发社</li>
        <li class="recent_comment_title"><a href="http://www.cnblogs.com/ry123/p/4032184.html#3747547">2. Re:设置MyEclipse黑色主题背景</a></li>
        <li class="recent_comment_body">a'a</li>
        <li class="recent_comment_author">--ArpA开发社</li>
        <li class="recent_comment_title"><a href="http://www.cnblogs.com/ry123/p/4032184.html#3747546">3. Re:设置MyEclipse黑色主题背景</a></li>
        <li class="recent_comment_body">就撒娇婚纱和时间撒</li>
        <li class="recent_comment_author">--ArpA开发社</li>
        <li class="recent_comment_title"><a href="http://www.cnblogs.com/ry123/p/4201449.html#3658495">4. Re:js  日期控件laydate使用</a></li>
        <li class="recent_comment_body">@逗人新手没有写回调函数吧...</li>
        <li class="recent_comment_author">--404_NotFound</li>
        <li class="recent_comment_title"><a href="http://www.cnblogs.com/ry123/p/4201449.html#3601415">5. Re:js  日期控件laydate使用</a></li>
        <li class="recent_comment_body">大神，请求指点。按照此方法，在浏览器中点击后无状态！！！<br></li>
        <li class="recent_comment_author">--逗人新手</li>
</ul>
</div>
</div>
</div></div><div id="sidebar_topviewedposts" class="sidebar-block"><div id="topview_posts_wrap">
<div class="catListView">
<h3 class="catListTitle">阅读排行榜</h3>
	<div id="TopViewPostsBlock"><ul><li><a href="http://www.cnblogs.com/ry123/p/4032184.html">1. 设置MyEclipse黑色主题背景(23318)</a></li><li><a href="http://www.cnblogs.com/ry123/p/3863155.html">2. java学习(三) java 中 mongodb的各种操作(14575)</a></li><li><a href="http://www.cnblogs.com/ry123/p/3831824.html">3. EasyUI--datebox设置默认时间(13977)</a></li><li><a href="http://www.cnblogs.com/ry123/p/4201449.html">4. js  日期控件laydate使用(13528)</a></li><li><a href="http://www.cnblogs.com/ry123/p/4769676.html">5. webstorm快捷键说明(12778)</a></li></ul></div>
</div>
</div></div><div id="sidebar_topcommentedposts" class="sidebar-block"><div id="topfeedback_posts_wrap">
<div class="catListFeedback">
<h3 class="catListTitle">评论排行榜</h3>
	<div id="TopFeedbackPostsBlock"><ul><li><a href="http://www.cnblogs.com/ry123/archive/2012/05/31/2528281.html">1. Windows Phone(二) WP7数据库连接(SQLite数据库)(15)</a></li><li><a href="http://www.cnblogs.com/ry123/archive/2012/06/15/2550362.html">2. 获取客户端IP,(11)</a></li><li><a href="http://www.cnblogs.com/ry123/archive/2012/06/20/2554427.html">3. Windows Phone(三)WP7版 " 记账本" 开发(使用SQLite数据库)(9)</a></li><li><a href="http://www.cnblogs.com/ry123/archive/2012/05/24/2516669.html">4. 部署XAP时,部署工具提示部署无效,求解决!(7)</a></li><li><a href="http://www.cnblogs.com/ry123/archive/2013/05/09/3068946.html">5. C#是.NET吗？---hr说：我们只招聘C#工程师，你是做.NET的和我们要求不符。。。(7)</a></li></ul></div>
</div>
</div></div><div id="sidebar_topdiggedposts" class="sidebar-block"><div id="topdigg_posts_wrap">
<div class="catListView">
<h3 class="catListTitle">推荐排行榜</h3>
<div id="TopDiggPostsBlock"><ul><li><a href="http://www.cnblogs.com/ry123/archive/2012/05/31/2528281.html">1. Windows Phone(二) WP7数据库连接(SQLite数据库)(6)</a></li><li><a href="http://www.cnblogs.com/ry123/archive/2011/12/12/2285082.html">2. IEnumerable和IEnumerable&lt;T&gt;接口(4)</a></li><li><a href="http://www.cnblogs.com/ry123/p/4032184.html">3. 设置MyEclipse黑色主题背景(3)</a></li><li><a href="http://www.cnblogs.com/ry123/archive/2012/02/07/2341814.html">4. 文本框回车事件(1)</a></li><li><a href="http://www.cnblogs.com/ry123/archive/2012/06/20/2554427.html">5. Windows Phone(三)WP7版 " 记账本" 开发(使用SQLite数据库)(1)</a></li></ul></div>
</div></div></div></div><script type="text/javascript">loadBlogSideColumn();</script>
			</div>
			
		</div><!--end: sideBarMain -->
	</div><!--end: sideBar 侧边栏容器 -->
	<div class="clear"></div>
	</div><!--end: main -->
	<div class="clear"></div>
	<div id="footer">
		
<!--done-->
Copyright ©2017 RY一步一个脚印
	</div><!--end: footer -->
</div><!--end: home 自定义的最大容器 -->


</body></html>